package com.eam.asset.file.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.eam.common.annotation.Excel;
import com.eam.common.core.domain.BaseEntity;

/**
 * 其他资产档案(广告位等)对象 asset_other
 *
 * @author tzf
 * @date 2023-10-31
 */
public class AssetOther extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 土地资产id
     */
    @TableId
    private String otherId;

    /**
     * 资产名称
     */
    @Excel(name = "资产名称")
    private String otherName;

    /**
     * 资产地址
     */
    @Excel(name = "资产地址")
    private String otherPosition;

    /**
     * 资产来源
     */
    @Excel(name = "资产来源")
    private String otherSource;

    /**
     * 性质
     */
    @Excel(name = "性质")
    private String otherNature;

    /**
     * 状况
     */
    @Excel(name = "状况")
    private String otherStatus;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long otherNumber;

    /**
     * 获取时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date otherGetDate;

    /**
     * 占地面积
     */
    @Excel(name = "占地面积")
    private BigDecimal otherArea;

    /**
     * 产权人
     */
    @Excel(name = "产权人")
    private String otherOwner;

    /**
     * 资产产权号
     */
    @Excel(name = "资产产权号")
    private String otherWarrant;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private String otherCategory;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String lon;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String lat;

    /**
     * 上级id
     */
    @Excel(name = "上级id")
    private Long parentId;

    /**
     * 下级id
     */
    @Excel(name = "下级id")
    private Long sonId;

    /**
     * 土地图片
     */
    @Excel(name = "土地图片")
    private String otherImg;

    /**
     * 处置类别
     */
    @Excel(name = "处置类别")
    private String otherManage;

    /**
     * 档案编码
     */
    @Excel(name = "档案编码")
    private String otherCode;

    /**
     * 资产产权图片
     */
    @Excel(name = "资产产权图片")
    private String otherWarrantImg;
    @TableLogic
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getOtherId() {
        return otherId;
    }

    public void setOtherId(String otherId) {
        this.otherId = otherId;
    }

    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    public String getOtherName() {
        return otherName;
    }

    public void setOtherPosition(String otherPosition) {
        this.otherPosition = otherPosition;
    }

    public String getOtherPosition() {
        return otherPosition;
    }

    public void setOtherSource(String otherSource) {
        this.otherSource = otherSource;
    }

    public String getOtherSource() {
        return otherSource;
    }

    public void setOtherNature(String otherNature) {
        this.otherNature = otherNature;
    }

    public String getOtherNature() {
        return otherNature;
    }

    public void setOtherStatus(String otherStatus) {
        this.otherStatus = otherStatus;
    }

    public String getOtherStatus() {
        return otherStatus;
    }

    public void setOtherNumber(Long otherNumber) {
        this.otherNumber = otherNumber;
    }

    public Long getOtherNumber() {
        return otherNumber;
    }

    public void setOtherGetDate(Date otherGetDate) {
        this.otherGetDate = otherGetDate;
    }

    public Date getOtherGetDate() {
        return otherGetDate;
    }

    public void setOtherArea(BigDecimal otherArea) {
        this.otherArea = otherArea;
    }

    public BigDecimal getOtherArea() {
        return otherArea;
    }

    public void setOtherOwner(String otherOwner) {
        this.otherOwner = otherOwner;
    }

    public String getOtherOwner() {
        return otherOwner;
    }

    public void setOtherWarrant(String otherWarrant) {
        this.otherWarrant = otherWarrant;
    }

    public String getOtherWarrant() {
        return otherWarrant;
    }

    public void setOtherCategory(String otherCategory) {
        this.otherCategory = otherCategory;
    }

    public String getOtherCategory() {
        return otherCategory;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLon() {
        return lon;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setSonId(Long sonId) {
        this.sonId = sonId;
    }

    public Long getSonId() {
        return sonId;
    }

    public void setOtherImg(String otherImg) {
        this.otherImg = otherImg;
    }

    public String getOtherImg() {
        return otherImg;
    }

    public void setOtherManage(String otherManage) {
        this.otherManage = otherManage;
    }

    public String getOtherManage() {
        return otherManage;
    }

    public void setOtherCode(String otherCode) {
        this.otherCode = otherCode;
    }

    public String getOtherCode() {
        return otherCode;
    }

    public void setOtherWarrantImg(String otherWarrantImg) {
        this.otherWarrantImg = otherWarrantImg;
    }

    public String getOtherWarrantImg() {
        return otherWarrantImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("otherId", getOtherId())
                .append("otherName", getOtherName())
                .append("otherPosition", getOtherPosition())
                .append("otherSource", getOtherSource())
                .append("otherNature", getOtherNature())
                .append("otherStatus", getOtherStatus())
                .append("otherNumber", getOtherNumber())
                .append("otherGetDate", getOtherGetDate())
                .append("otherArea", getOtherArea())
                .append("otherOwner", getOtherOwner())
                .append("otherWarrant", getOtherWarrant())
                .append("otherCategory", getOtherCategory())
                .append("lon", getLon())
                .append("lat", getLat())
                .append("parentId", getParentId())
                .append("sonId", getSonId())
                .append("otherImg", getOtherImg())
                .append("otherManage", getOtherManage())
                .append("otherCode", getOtherCode())
                .append("otherWarrantImg", getOtherWarrantImg())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
